
Router(config)#
Router(config)#hostname HQ
HQ(config)#enable secret cisco
HQ(config)#line console 0
HQ(config-line)#password class2025
HQ(config-line)#login
HQ(config-line)#exit
HQ(config)#line vty 0 4
HQ(config-line)#password cisco2025
HQ(config-line)#login
HQ(config-line)#banner motd #No Unauthorised Access#
HQ(config)#exit
HQ#
*Jan  9 10:26:35.143: %SYS-5-CONFIG_I: Configured from console by console
HQ#config t
Enter configuration commands, one per line.  End with CNTL/Z.
HQ(config)#interface serial0/0/0
HQ(config-if)#ip address 1.1.1.253 255.255.255.252
HQ(config-if)#ipv6 address 2001:0db8:cafe:1::1/64
HQ(config-if)#noshutdown
                ^
% Invalid input detected at '^' marker.

HQ(config-if)#no shutdown
HQ(config-if)#
*Jan  9 10:28:59.647: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
*Jan  9 10:29:00.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Jan  9 10:29:01.647: %IPV6_ND-4-DUPLICATE: Duplicate address 2001:DB8:CAFE:1::1 on Serial0/0/0
HQ(config-if)#interface gig0/0
HQ(config-if)#ip address 172.16.2.1 255.255.255.248
HQ(config-if)#no shutdown
HQ(config-if)#
*Jan  9 10:34:27.439: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to down
*Jan  9 10:34:29.651: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up
*Jan  9 10:34:30.651: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
HQ(config-if)#interface gig0/0/0
                               ^
% Invalid input detected at '^' marker.

HQ(config)#interface gig0/0
HQ(config-if)#ipv6 address 2001:0db8:beef:10::1/64
HQ(config-if)#no shutdown
HQ(config-if)#ipv6 unicast-routing
HQ(config)#interface lo1
HQ(config-if)#
*Jan  9 10:45:31.891: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
HQ(config-if)#ip address 192.168.1.1 255.255.255.0
HQ(config-if)#no shutdown
HQ(config-if)#exit
HQ(config)#interface lo2
HQ(config-if)#
*Jan  9 10:46:17.139: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback2, changed state to up
HQ(config-if)#ip address 192.168.2.65 255.255.255.192
HQ(config-if)#no shutdown
HQ(config-if)#
HQ(config-if)#exit
HQ(config)#interface lo3
HQ(config-if)#
*Jan  9 10:47:09.767: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback3, changed state to up
HQ(config-if)#ip address 192.168.3.1 255.255.255.224
HQ(config-if)#no shutdown
HQ(config-if)#ipv6 address 2001:0db8:beef:0003::1/64
HQ(config-if)#no shutdown
HQ(config-if)#exit
HQ(config)#
*Jan  9 10:51:18.643: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down
*Jan  9 10:51:19.643: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to down
*Jan  9 10:51:22.651: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up
*Jan  9 10:51:23.651: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
HQ(config)#show ip interface brief
             ^
% Invalid input detected at '^' marker.

HQ(config)#exit
HQ#show
*Jan  9 10:55:24.783: %SYS-5-CONFIG_I: Configured from console by co
HQ#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
Embedded-Service-Engine0/0 unassigned      YES unset  administratively down down
GigabitEthernet0/0         172.16.2.1      YES manual up                    up
GigabitEthernet0/1         unassigned      YES unset  administratively down down
Serial0/0/0                1.1.1.253       YES manual up                    up
Serial0/0/1                unassigned      YES unset  administratively down down
Serial0/1/0                unassigned      YES unset  administratively down down
Serial0/1/1                unassigned      YES unset  administratively down down
Loopback1                  192.168.1.1     YES manual up                    up
Loopback2                  192.168.2.65    YES manual up                    up
Loopback3                  192.168.3.1     YES manual up                    up
HQ#config t
Enter configuration commands, one per line.  End with CNTL/Z.
HQ(config)#enable rip
                  ^
% Invalid input detected at '^' marker.

HQ(config)#router rip
HQ(config-router)#version 2
HQ(config-router)#network 172.16.2.1
HQ(config-router)#
